<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\ProjectInvestigation */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="project-investigation-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'project_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'borrower')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'guarantor')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'mortgagor')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'mortgage_type')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'principal')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'interest')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'lawsuit')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'execution')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'auction')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'records_investigation')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'records_consistence')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'order_sent')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'execution_method')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'layer_interview')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'debt_collection')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'prescription')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'origin_files')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'conclusion')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'created_at')->textInput() ?>

    <?= $form->field($model, 'updated_at')->textInput() ?>

    <?= $form->field($model, 'lock_user')->textInput() ?>

    <?= $form->field($model, 'lock_timestamp')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
